.base-window {
  &-content {
    display: none;
  }
}

.layx-html {
  .base-window-content {
    display: block;
    height: 100%;
    &-body {
      height: calc(100% - 53px);
      padding: 20px;
    }
    &-footer {
      border-top: 1px solid $color-border-l2;
      min-height: 52px;
      padding: 10px 20px;
      position: absolute;
      bottom: 0;
      width: 100%;

      // 不知道为什么这里样式有问题，很奇怪 bugfix shb-184
      .bc-contact-footer {
        height: auto;
        padding: 0;
        border-top: 0;
      }
    }
  }
}

.base-window-content {
  .dialog-footer {
    display: flex;
    justify-content: flex-end;
  }
}

.layx-control-bar {
  background-color: $bg-color-l2 !important;
  color: $text-color-primary;
  cursor: move;
  display: flex;
  align-items: center;
  font-size: $font-size-large;
  font-weight: 600;
  min-height: 44px !important;
  position: relative;
  .layx-left-bar {
    margin-left: 15px;
  }
  .layx-title {
    height: 100%;
  }
  .layx-right-bar {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 20px;
  }
  .layx-window-icon {
    display: none;
  }
  .layx-label {
    font-size: $font-size-large !important;
  }
  .layx-icon {
    cursor: pointer;
  }
}

.layx-window {
  box-shadow: rgba(0, 0, 0, .35) 0px 1px 24px 0px;
  .layx-control-bar {
    .layx-inlay-menus {
      .layx-destroy-menu:hover {
        background-color: $color-danger !important;
      }
    }
  }
  .base-window-content-body {
    overflow-y: auto;
  }
}

.layx-window.layx-skin-default {
  border: none !important;
}

/* ---- start 其他页面组件使用 ------ */

.base-window-content .task-need-approve-dialog,
.task-plantime-dialog.base-window,
.allot-rule-modal.base-window,
.form-item .base-window-content {
  display: none !important;
}

.task-allot-modal .base-window-content-body {
  padding: 0 !important;
}

.layx-window.base-contact {
  .base-window-content-body {
    padding: 0;
    .bc-dept-wrap {
      height: 100%;
    }
  }
  .base-window-content-footer {
    border: 0;
    padding: 0;
  }
}

.base-window-content {
  .base-select-container {
    .list-wrapper {
      position: absolute;
    }
  }
}

.layx-window {
  .task-allot-excutor {
    .biz-team-select-tags {
      p {
        font-size: $font-size-base;
        margin: 0;
      }
    }
  }
}

.layx-iconfont {
  width: 16px !important;
  height: 16px !important;
}

.layx-window.base-contact.department-user-modal {
  .base-window-content-footer {
    .bc-contact-footer {
      height: 52px;
      padding: 10px;
      text-align: right;
      border-top: 1px solid #e9ecef;
    }
  }
}

.layx-window.department-user-modal-not-multi {
  .base-window-content-footer {
    display: none;
  }
  .base-window-content-body {
    height: 100%;
  }
}

/* ---- end 其他页面组件使用 ------ */
